package com.swx.identityservice.mapper;

import com.swx.identityservice.models.ScbpRolePermission;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0.0
 * @date 2018/6/4 0004 23:21
 */
public interface ScbpRolePermissionMapper extends Mapper<ScbpRolePermission> {

    int deletePermissionByRoleId(Integer id);

    int selectCountByRoleId(Integer id);

    List<ScbpRolePermission> getpermissionbyroleid(Integer id);

}
